<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>Template Basics</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link href="web/style.css" rel="stylesheet" type="text/css" media="screen">
    <script type="text/javascript" src="web/js/jquery-1.7.1.js"></script>
    <script type="text/javascript">
        function addtocart(proid) {
            $.ajax({
            type : "POST",
            url : "cart.php",
            data: { do: "add", id: proid }, success : function(html) {
                alert(html);
            }
        });

        }
    </script>
</head>